import 'dart:async';

// 定义Bloc的公共方法
abstract class BaseBloc {
  final StreamController<String> _errorSubject = StreamController<String>();

  Sink<String> get errorSink => _errorSubject.sink;

  Stream<String> get errorStream => _errorSubject.stream;
}
